package com.nova.edc.service.system.impl;

import com.nova.edc.dao.system.ArchitectureDao;
import com.nova.edc.model.system.Architecture;
import com.nova.edc.service.system.ArchitectureService;
import com.nova.frame.dao.buzz.query.Order;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by Administrator on 2016/2/26 0026.
 */
public class ArchitectureServiceImpl implements ArchitectureService {

    @Autowired
    private ArchitectureDao novaarchitectureDao;

    @Override
    public List<Architecture> findAll() {
        return novaarchitectureDao.query().addOrder(Order.asc("ID")).list();
    }
}
